/* --- GLOBAL ANIMATED COLORFUL BACKGROUND --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    /* Gradasi Warna Global: Navy, Blue, Purple */
    background: linear-gradient(-124deg, #000000, #000000, #9400d3, #061669);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    color: #000000;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- HERO SECTION BASE (TANPA FOTO) --- */
.events-hero-vibrant {
    position: relative;
    height: 65vh; /* Tinggi proporsional seperti akademik */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: transparent; /* Mengikuti BG Body */
}

.hero-content-center {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

/* --- JUDUL COLORFUL (TITLE CASE & ONE LINE) --- */
.title-colorful {
    font-family: 'Playfair Display', serif;
    font-size: 4rem; /* Persis ukuran halaman akademik */
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    white-space: nowrap; /* Memaksa satu baris horizontal */
    letter-spacing: 0.5px;
    /* Shadow menyesuaikan warna Navy background */
    text-shadow: 0 10px 30px rgba(6, 22, 105, 0.8);
}

/* Efek Gradasi pada Kata "Events" */
.text-gradient {
    background: linear-gradient(90deg, #00f0ff, #9400d3, #ff007f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    font-weight: 900;
}

/* --- SUBJUDUL VIBRANT --- */
.subtitle-vibrant {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem; /* Persis ukuran halaman akademik */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    /* Shadow halus warna Navy */
    text-shadow: 0 2px 10px rgba(6, 22, 105, 0.5);
}

/* --- ANIMASI SHINE UNTUK TEKS --- */
@keyframes shine {
    to { background-position: 200% center; }
}

/* --- ELEMEN DEKORATIF (BLOBS) --- */
.bg-vibrant-blobs div {
    position: absolute;
    filter: blur(80px);
    z-index: 1;
    border-radius: 50%;
    opacity: 0.4;
}
.blob-1 {
    width: 400px; height: 400px;
    background: #9400d3;
    top: -100px; left: -100px;
}
.blob-2 {
    width: 300px; height: 300px;
    background: #143deb;
    bottom: -50px; right: -50px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .title-colorful {
        font-size: 2rem;
        white-space: normal; /* Di mobile boleh patah baris */
    }
    .events-hero-vibrant {
        height: 50vh;
    }
}

/* --- OVERRIDE NAVBAR Z-INDEX (Opsional jika nav kamu punya z-index tinggi) --- */
header {
    position: relative;
    z-index: 100; /* Navbar standar */
}

/* --- HERO SPLASH MODE --- */
.events-hero-splash {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    transition: all 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

/* SAAT ANIMASI (MENUTUPI SEMUA TERMASUK NAVBAR) */
.events-hero-splash.splash-mode {
    position: fixed; /* Menempel di layar */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Z-index harus lebih tinggi dari navbar (biasanya > 1000) */
    z-index: 9999; 
    
    /* Warna Navy Pekat khas IPB dengan Blur */
    background: rgba(6, 22, 105, 0.98); 
    backdrop-filter: blur(25px); /* Efek sekeliling buram total */
    display: flex;
    flex-direction: column;
}

/* Teks saat Splash Berlangsung */
.events-hero-splash.splash-mode .title-colorful {
    font-size: 4.5rem; /* Lebih besar saat menyambut */
    margin-bottom: 20px;
    opacity: 1;
}

.events-hero-splash.splash-mode .subtitle-vibrant {
    font-size: 1.4rem;
    opacity: 1;
}

/* KEMBALI KE POSISI SEMULA (NAVBAR MUNCUL LAGI) */
.events-hero-splash.splash-mode-ended {
    position: relative;
    height: 70vh;
    z-index: 10; /* Turun ke bawah navbar */
    background: transparent;
    backdrop-filter: blur(0);
}

.events-hero-splash.splash-mode-ended .title-colorful {
    font-size: 5rem; /* Ukuran standard akademik */
}





/* --- RECENT IN MARCH STYLE V2 (SCRAPBOOK ADAPTATION) --- */
.recent-march-section-v2 {
    padding: 30px 0 80px;
    overflow: hidden;
    background: transparent;
    perspective: 1200px; /* Diperkuat untuk efek kedalaman */
}

/* --- THE DRAMATIC SERIF TYPOGRAPHY --- */
.recent-header-centered-v2 {
    text-align: center;
    margin-bottom: 20px; /* Jarak dipangkas agar mepet ke card */
    position: relative;
    z-index: 20;
}

.recent-title-v2 {
    /* Font dengan ekor melengkung tajam */
    font-family: 'Cormorant Garamond', serif;
    font-size: 5.5rem; 
    font-weight: 300;
    font-style: italic; /* Memberikan kesan ekor yang lebih miring */
    letter-spacing: 2px;
    color: #ffffff;
    line-height: 0.8; /* Membuat teks atas dan bawah lebih rapat */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Animasi Fade In Dramatis */
    animation: fadeInUpSlight 1.5s ease forwards;
    opacity: 0;
}

/* Kata Khusus MARCH dengan Efek Ekor & Bersinar */
.march-text-v2 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: 6rem;
    position: relative;
    display: inline-block;
    color: #ffffff;
    
    /* Neon Glow yang lebih 'Deep' */
    text-shadow: 
        0 0 15px rgba(148, 0, 211, 0.9),
        0 0 35px rgba(0, 240, 255, 0.5);
}

/* Ekor Tambahan (Pseudo-element) agar terlihat lebih meliuk */
.march-text-v2::before {
    content: 'Recent in';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Mea Culpa', cursive; /* Font script melengkung ekstrim */
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    letter-spacing: 5px;
}

/* Efek Highlight Bersinar di Bawah March */
.march-text-v2::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: -15%;
    width: 130%;
    height: 40px;
    background: linear-gradient(90deg, transparent, rgba(148, 0, 211, 0.5), transparent);
    z-index: -1;
    filter: blur(8px);
    border-radius: 50%; /* Bentuk elips biar estetik */
}

/* --- ANIMASI FADE IN DRAMATIS --- */
@keyframes fadeInUpSlight {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- ADJUST JARAK TRACK KE ATAS --- */
.marquee-wrapper-v2 {
    margin-top: -10px; /* Menarik card agar lebih naik mendekati judul */
    padding: 20px 0;
}

/* --- MARQUEE ENGINE V2 --- */
.marquee-wrapper-v2 {
    width: 100%;
    position: relative;
    padding: 40px 0;
}

.recent-track-v2 {
    display: flex;
    gap: 50px; /* Jarak lebih lebar agar rotasi tidak tabrakan */
    width: max-content;
    animation: scrollInfiniteSinematic 35s linear infinite;
    transition: all 0.5s ease;
}

/* --- THE MAGIC HOVER: BLUR OTHERS --- */
.recent-track-v2:hover .recent-card-v2 {
    filter: blur(15px) grayscale(0.5) brightness(0.7);
    transform: scale(0.85) rotate(0deg) !important;
    opacity: 0.4;
}

.recent-track-v2 .recent-card-v2:hover {
    filter: blur(0) grayscale(0) brightness(1.1);
    transform: scale(1.05) translateY(-40px) rotate(0deg) !important;
    opacity: 1;
    z-index: 100;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5); /* Melayang lebih tinggi */
}

/* --- PREMIUM SCRAPBOOK CARD (GANTI KODE LAMA KAMU DENGAN INI) --- */
.recent-card-v2 {
    width: 520px;
    height: 380px;
    /* Efek Kertas Foto Premium dengan gradasi subtle */
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 15px 15px 75px 15px; /* Spasi bawah ekstra untuk caption */
    border-radius: 2px; /* Sudut hampir tajam khas potongan kertas */
    position: relative;
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    
    /* Double Shadow: Meniru kedalaman fisik asli */
    box-shadow: 
        2px 2px 5px rgba(0,0,0,0.05),
        15px 25px 45px rgba(0,0,0,0.3);
    
    border: 1px solid rgba(0,0,0,0.03);
}

/* Rotasi acak otomatis agar terlihat alami */
.recent-card-v2:nth-child(odd) { transform: rotate(-3deg); }
.recent-card-v2:nth-child(even) { transform: rotate(4deg); }

/* Efek Plester/Tape Bening di sudut atas (Ciri khas scrapbook) */
.recent-card-v2::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 110px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.recent-img-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) saturate(1.1); /* Warna lebih 'pop' seperti cetakan */
    border: 1px solid rgba(0,0,0,0.08); /* Garis tipis pembatas foto */
    transition: 0.6s ease;
}

/* Bagian Putih (Caption) di bawah foto */
.recent-overlay-v2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: transparent; /* Menyatu dengan background kartu */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 25px;
    z-index: 2;
}

.tag-cyan-v2 {
    color: #888; /* Warna abu-abu halus ala catatan kaki */
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.recent-info-v2 h3 {
    color: #1a1a1a; /* Warna teks gelap premium */
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    font-style: italic; /* Style puitis seperti referensi */
    font-family: 'Playfair Display', serif;
    opacity: 0.9;
}

/* Tambahan Efek Daun Melayang dari Referensi */
.recent-march-section-v2::before {
    content: '🍃';
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: 2rem;
    animation: leafFloat 10s infinite ease-in-out;
    opacity: 0.6;
    z-index: 5;
}

@keyframes leafFloat {
    0%, 100% { transform: translate(0,0) rotate(0deg); }
    50% { transform: translate(30px, 50px) rotate(45deg); }
}

@keyframes scrollInfiniteSinematic {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}




.sparkle {
    position: absolute;
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 0 0 10px #fff;
    z-index: 5;
    animation: sparkleBlink 3s infinite alternate;
}
.s1 { top: 10%; right: 15%; }
.s2 { bottom: 15%; left: 20%; animation-delay: 1.5s; }

@keyframes sparkleBlink {
    0% { opacity: 0.2; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2) rotate(20deg); }
}



/* --- MEGA PROKER GONG SECTION --- */
/* --- MEGA PROKER TITLE STYLE (REVERSED & HIGHLIGHTED) --- */
.mega-header-v2 {
    text-align: center;
    margin-bottom: 40px; /* Jarak rapat ke list proker */
    position: relative;
    z-index: 20;
    padding-top: 60px;
}

.mega-title-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    animation: fadeInUpSlight 1.5s ease forwards;
}

/* TULISAN UTAMA: MEGA PROGRAM KERJA (DI ATAS & HIGHLIGHT) */
.highlight-gong-v2 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: 5.2rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
    z-index: 2;
    
    /* Neon Glow Cyan-Purple */
    text-shadow: 
        0 0 15px rgba(0, 240, 255, 0.7),
        0 0 40px rgba(148, 0, 211, 0.5);
    
    margin-bottom: 10px; /* Jarak ke tulisan kabinet di bawah */
}

/* Efek Highlight (Coreotan Stabilo Glow) di bawah Mega Program Kerja */
.highlight-gong-v2::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5%;
    width: 110%;
    height: 45px;
    /* Gradasi highlight yang 'pop' banget */
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 240, 255, 0.2) 20%, 
        rgba(148, 0, 211, 0.3) 80%, 
        transparent 100%);
    z-index: -1;
    filter: blur(10px);
    border-radius: 50px;
    transform: skewX(-10deg);
}

/* TULISAN BAWAH: KABINET ELABORASI MIMPI (KECIL & SWIRLY) */
.kabinet-sub-v2 {
    font-family: 'Playfair Display', Serif;
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 0.5); /* Putih soft agar tidak balapan sama judul */
    letter-spacing: 3px;
    font-style: normal;
    margin-top: -5px;
    /* Memberikan kesan estetik meliuk di bawah judul utama */
    transition: 0.5s ease;
}

/* Hover Effect: Saat judul di-hover, sub-judul ikut bersinar pelan */
.mega-title-v2:hover .kabinet-sub-v2 {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* --- ADJUST JARAK KE LIST PROKER --- */
.proker-list {
    margin-top: 10px;
}

.proker-item {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Kondisi Selang-Seling (Zig-Zag) */
.proker-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* --- CINEMA FOCUS: BLUR YANG LAIN SAAT BOX DI-HOVER --- */

/* 1. Saat LIST di-hover, buat semua ITEM di dalamnya buram & redup */
.proker-list:hover .proker-item {
    filter: blur(15px);
    opacity: 0.15;
    transform: scale(0.92);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* 2. Saat ITEM tertentu di-hover, kembalikan ke TAJAM & MENONJOL */
.proker-list .proker-item:hover {
    filter: blur(0);
    opacity: 1;
    transform: scale(1.02); /* Sedikit membesar keluar dari tumpukan blur */
    z-index: 50;
}

/* --- THE MODERN BEVELED BOX --- */
.proker-box {
    flex: 1.2;
    height: 450px;
    position: relative;
    clip-path: polygon(0% 0%, 100% 5%, 100% 100%, 8% 95%);
    overflow: hidden;
    background: #000;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animasi Morphing Box & Glow */
.proker-item:hover .proker-box {
    clip-path: polygon(0% 5%, 95% 0%, 100% 95%, 5% 100%);
    transform: scale(1.08) rotate(-1deg);
    box-shadow: 0 0 80px var(--proker-color); /* Glow lebih kuat */
    border-color: var(--proker-color);
}

.proker-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.5); /* Lebih gelap saat tidak aktif */
    transition: 0.8s ease;
    transform: scale(1.1);
}

.proker-item:hover .proker-box img {
    filter: grayscale(0) brightness(1.1);
    transform: scale(1);
}

/* --- DESKRIPSI: DARI BLUR KE GLOWING --- */
.proker-details {
    flex: 1;
    padding: 0 60px; /* Jarak ekstra agar deskripsi panjang tetap aman */
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
    transition: all 0.6s ease;
}

.proker-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #fff;
    max-width: 550px;
    text-align: justify;
    /* Efek Blur Bawaan Deskripsi */
    filter: blur(12px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.proker-item:hover .proker-desc {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
    /* Glow Teks Deskripsi sesuai warna proker */
    text-shadow: 0 0 15px var(--proker-color);
}

/* --- THE ULTIMATE PROKER HEADING --- */
.proker-heading {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem; /* Ukuran besar untuk Desktop */
    font-weight: 900;
    font-style: italic;
    color: var(--proker-color);
    margin-bottom: 20px;
    line-height: 1;
    position: relative;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: -1px;
    z-index: 5;
}

/* Efek Huruf Pertama Lebih Besar (Drop Cap Style) */
.proker-heading::first-letter {
    font-size: 1.2em;
    font-family: 'Cormorant Garamond', serif;
    margin-right: -5px;
    color: #fff;
    text-shadow: 0 0 20px var(--proker-color);
}

/* Garis Dekoratif di bawah Judul */
.proker-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0; /* Mulai dari 0 */
    height: 4px;
    background: var(--proker-color);
    box-shadow: 0 0 15px var(--proker-color);
    transition: width 0.6s ease;
    border-radius: 2px;
}

/* Efek Hover Judul */
.proker-item:hover .proker-heading {
    transform: translateY(-10px) scale(1.05);
    color: #fff; /* Berubah jadi putih saat di-focus */
    text-shadow: 
        0 0 20px var(--proker-color),
        0 0 40px var(--proker-color);
}

.proker-item:hover .proker-heading::after {
    width: 100%; /* Garis memanjang saat di-hover */
}

/* Penyesuaian untuk item genap (rata kanan) */
.proker-item:nth-child(even) .proker-heading::after {
    left: auto;
    right: 0;
}

/* --- HAPUS GARIS VERTIKAL DI SAMPING DESKRIPSI --- */

/* Bagian Ganjil */
.proker-item:hover .proker-details {
    border-left: none; /* Garis vertikal dihapus */
    padding-left: 60px; /* Tetap beri padding agar teks tidak menempel gambar */
}

/* Bagian Genap */
.proker-item:nth-child(even):hover .proker-details {
    border-right: none; /* Garis vertikal dihapus */
    padding-right: 60px;
}

/* Penyesuaian Mobile (Pastikan juga bersih dari garis) */
@media (max-width: 768px) {
    .proker-item:hover .proker-details,
    .proker-item:nth-child(even):hover .proker-details {
        border-left: none !important;
        border-right: none !important;
        padding: 0 !important;
    }
}

/* ================================================================
   MOBILE RESPONSIVE ADJUSTMENTS (Max-width: 768px)
   ================================================================ */

@media (max-width: 768px) {
    /* 1. Global Background Adjustments */
    body {
        background-size: 200% 200%; /* Animasi lebih ringan di mobile */
    }

    /* 2. Hero Section Mobile */
    .title-colorful {
        font-size: 2.2rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .events-hero-splash.splash-mode .title-colorful {
        font-size: 2.5rem;
    }

    /* 3. Recent in March (Scrapbook) Mobile */
    .recent-title-v2 {
        font-size: 2.8rem;
    }
    
    .march-text-v2 {
        font-size: 3rem;
    }
    
    .march-text-v2::before {
        font-size: 1.8rem;
        top: -25px;
    }

    .recent-card-v2 {
        width: 280px; /* Ukuran card lebih kecil di mobile */
        height: 220px;
        padding: 10px 10px 45px 10px;
    }

    .recent-overlay-v2 {
        height: 45px;
        padding: 0 15px;
    }

    .recent-info-v2 h3 {
        font-size: 0.9rem;
    }

    /* 4. Mega Proker Title Mobile */
    .highlight-gong-v2 {
        font-size: 2.5rem; /* Ukuran judul Proker dikecilkan */
        text-align: center;
    }
    
    .highlight-gong-v2::after {
        height: 20px;
        bottom: 5px;
    }

    .kabinet-sub-v2 {
        font-size: 1.8rem;
        margin-top: 5px;
    }

    /* 5. Mega Proker List Mobile (STACK VERTICAL) */
    .proker-list {
        gap: 60px; /* Jarak antar proker lebih rapat */
        padding: 0 15px;
    }

    .proker-item, 
    .proker-item:nth-child(even) {
        flex-direction: column !important; /* Paksa jadi satu kolom */
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .proker-box {
        width: 100%;
        height: 250px; /* Tinggi gambar dibatasi */
        clip-path: polygon(0% 0%, 100% 2%, 100% 100%, 5% 98%) !important;
    }

    .proker-details {
        padding: 0 !important; /* Hilangkan padding samping */
        width: 100%;
    }



    .proker-desc {
        font-size: 0.95rem;
        max-width: 100%;
        text-align: center; /* Rata tengah lebih baik di mobile */
        filter: none !important; /* Matikan blur default di mobile */
        opacity: 1 !important;
        transform: none !important;
        line-height: 1.5;
    }

    /* 6. Matikan Cinema Focus di Mobile */
    /* Karena mobile tidak ada cursor (hover), kita buat teks selalu terlihat */
    .proker-list:hover .proker-item {
        filter: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .proker-item:hover .proker-box {
        transform: scale(1.02) !important;
    }

    .proker-item:hover .proker-details {
        border-left: none !important;
        border-right: none !important;
        padding: 0 !important;
    }

    }


/* Tablet Adjustments (Portrait) */
@media (min-width: 769px) and (max-width: 1024px) {
    .title-colorful { font-size: 3rem; }
    .recent-card-v2 { width: 400px; height: 300px; }
    .highlight-gong-v2 { font-size: 4rem; }
    .proker-item { gap: 30px; }
}

